<template>
	<view>
		<view class="content">
			<rich-text :nodes="info"></rich-text>
		</view>
	</view>
</template>

<script>
	import { PrivacyAPI } from '../../../utils/api.js'
	export default {
		data() {
			return {
				info:'',
			}
		},
		onLoad(){
			this.initData();
		},
		methods: {
			async initData(){
			
				let  type = '充值协议'
				
				const res = await PrivacyAPI(type);
				this.info = res.result.agreement;
				console.log("res==============>",res)
			}
		}
	}
</script>

<style>
	.content{
		padding: 30rpx;
	}

</style>